package org.accp.pojo;

public class Hisrole {
    private Integer roleid;
    private String roleName;
    private String rolelabel;
    private String available;





    public String getAvailable() {
        return available;
    }

    public void setAvailable(String available) {
        this.available = available;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRolelabel() {
        return rolelabel;
    }

    public void setRolelabel(String rolelabel) {
        this.rolelabel = rolelabel;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Hisrole hisrole = (Hisrole) o;

        if (roleid != hisrole.roleid) return false;
        if (roleName != null ? !roleName.equals(hisrole.roleName) : hisrole.roleName != null) return false;
        if (rolelabel != null ? !rolelabel.equals(hisrole.rolelabel) : hisrole.rolelabel != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = roleid;
        result = 31 * result + (roleName != null ? roleName.hashCode() : 0);
        result = 31 * result + (rolelabel != null ? rolelabel.hashCode() : 0);
        return result;
    }
}
